 $(window).scroll(function () {
     var sTop = $(this).scrollTop();
     var sHeigh=$(document).height();
     var windowHeight = $(this).height();
     if (sTop==sHeight) {
         alert("");
     }
     
 })